{*******************************************************************************
* The contents of this file are used with permission, subject to the Mozilla   *
* Public License Version 1.1 (the "License"); you may not use this file except *
* in compliance with the License. You may obtain a copy of the License at      *
* http://www.mozilla.org/MPL/                                                  *
*                                                                              *
* Software distributed under the License is distributed on an "AS IS" basis,   *
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for *
* the specific language governing rights and limitations under the License.    *
*                                                                              *
* The Original Code is distributed as part of the "mediate" product and is     *
* Copyright (C) @home media limited. All Rights Reserved.                      *
*                                                                              *
* Email: support@athomemedia.co.uk                                             *
* Web:   http://www.athomemedia.co.uk                                          *
*******************************************************************************}

program mediate;

uses
  FastMM4,
  Forms,
  Colours in 'uk\co\athomemedia\ui\Colours.pas',
  Fills in 'uk\co\athomemedia\ui\Fills.pas',
  Captions in 'uk\co\athomemedia\ui\Captions.pas',
  Bitmaps in 'uk\co\athomemedia\ui\Bitmaps.pas',
  Backgrounds in 'uk\co\athomemedia\ui\Backgrounds.pas',
  Screen in 'uk\co\athomemedia\ui\Screen.pas',
  Fonts in 'uk\co\athomemedia\ui\Fonts.pas',
  VisualDescriptor in 'uk\co\athomemedia\ui\VisualDescriptor.pas',
  ThemeManager in 'uk\co\athomemedia\ui\ThemeManager.pas',
  ApplicationManager in 'uk\co\athomemedia\client\ApplicationManager.pas',
  Scratch in 'Scratch.pas',
  XMLTags in '..\common\uk\co\athomemedia\rtl\XMLTags.pas',
  ErrorCodes in 'uk\co\athomemedia\client\ErrorCodes.pas',
  ColourRenderer in 'uk\co\athomemedia\rtl\ColourRenderer.pas',
  LanguageDescriptor in 'uk\co\athomemedia\ui\LanguageDescriptor.pas',
  Languages in 'uk\co\athomemedia\ui\Languages.pas',
  Shapes in 'uk\co\athomemedia\ui\Shapes.pas',
  UIObjects in 'uk\co\athomemedia\ui\UIObjects.pas',
  Foregrounds in 'uk\co\athomemedia\ui\Foregrounds.pas',
  VButtons in 'uk\co\athomemedia\ui\VButtons.pas',
  Actions in 'uk\co\athomemedia\ui\Actions.pas',
  Functions in 'uk\co\athomemedia\ui\Functions.pas',
  UIManager in 'uk\co\athomemedia\ui\UIManager.pas',
  InterfaceDescriptor in 'uk\co\athomemedia\ui\InterfaceDescriptor.pas',
  Places in 'uk\co\athomemedia\ui\Places.pas',
  Layouts in 'uk\co\athomemedia\ui\Layouts.pas',
  Containers in 'uk\co\athomemedia\ui\Containers.pas',
  Screens in 'uk\co\athomemedia\ui\Screens.pas',
  Viewport in 'uk\co\athomemedia\rtl\Viewport.pas',
  CaptionedObject in 'uk\co\athomemedia\ui\CaptionedObject.pas',
  ActionManager in 'uk\co\athomemedia\client\ActionManager.pas',
  MetaData in 'uk\co\athomemedia\ui\MetaData.pas',
  ScreenForm in 'ScreenForm.pas' {AHMScreenForm},
  Graphic in 'uk\co\athomemedia\rtl\Graphic.pas',
  Canvas in 'uk\co\athomemedia\rtl\Canvas.pas',
  Colour in 'uk\co\athomemedia\rtl\Colour.pas',
  Preferences in 'uk\co\athomemedia\client\Preferences.pas',
  AudioDescriptor in 'uk\co\athomemedia\ui\AudioDescriptor.pas',
  Sound in 'uk\co\athomemedia\rtl\Sound.pas',
  Sounds in 'uk\co\athomemedia\ui\Sounds.pas',
  DirectXHelper in 'uk\co\athomemedia\rtl\DirectXHelper.pas',
  Timing in 'uk\co\athomemedia\rtl\Timing.pas',
  Diagnostics in 'uk\co\athomemedia\ui\Diagnostics.pas',
  BaseControls in 'uk\co\athomemedia\ui\BaseControls.pas',
  RenderCache in 'uk\co\athomemedia\rtl\RenderCache.pas',
  MediaWindows in 'uk\co\athomemedia\ui\MediaWindows.pas',
  Video in 'uk\co\athomemedia\rtl\Video.pas',
  KeyBindings in 'uk\co\athomemedia\client\KeyBindings.pas',
  MediaManager in 'uk\co\athomemedia\ui\MediaManager.pas',
  ScreenSaver in 'uk\co\athomemedia\ui\ScreenSaver.pas',
  Settings in 'uk\co\athomemedia\ui\Settings.pas',
  UIGrids in 'uk\co\athomemedia\ui\UIGrids.pas',
  Picture in 'uk\co\athomemedia\rtl\Picture.pas',
  Playlist in 'uk\co\athomemedia\ui\Playlist.pas',
  MediaFiles in 'uk\co\athomemedia\rtl\MediaFiles.pas',
  AVRenderer in 'uk\co\athomemedia\rtl\AVRenderer.pas',
  MediaGrids in 'uk\co\athomemedia\ui\MediaGrids.pas',
  Visualisation in 'uk\co\athomemedia\rtl\Visualisation.pas',
  WMPEffects in 'uk\co\athomemedia\rtl\WMPEffects.pas',
  Macros in 'uk\co\athomemedia\ui\Macros.pas',
  SingleInstance in 'uk\co\athomemedia\rtl\SingleInstance.pas',
  MediaLocations in 'uk\co\athomemedia\client\MediaLocations.pas',
  Empty in 'uk\co\athomemedia\rtl\Empty.pas',
  Plasma in 'uk\co\athomemedia\ui\Plasma.pas',
  DirectShowAudio in 'uk\co\athomemedia\rtl\DirectShowAudio.pas',
  Animators in 'uk\co\athomemedia\ui\Animators.pas',
  Animation in 'uk\co\athomemedia\ui\Animation.pas',
  Bars in 'uk\co\athomemedia\ui\Bars.pas',
  MetaValues in 'uk\co\athomemedia\ui\MetaValues.pas',
  ThemeDescriptor in 'uk\co\athomemedia\ui\ThemeDescriptor.pas',
  MediaFolders in 'uk\co\athomemedia\ui\MediaFolders.pas',
  ConsoleManager in 'uk\co\athomemedia\ui\ConsoleManager.pas',
  TextEntry in 'uk\co\athomemedia\ui\TextEntry.pas',
  SettingsForm in 'uk\co\athomemedia\client\SettingsForm.pas' {frmSettings},
  DirectShowVideo in 'uk\co\athomemedia\rtl\DirectShowVideo.pas',
  DirectShowDVD in 'uk\co\athomemedia\rtl\DirectShowDVD.pas',
  DirectShowHelper in 'uk\co\athomemedia\rtl\DirectShowHelper.pas',
  DVD in 'uk\co\athomemedia\rtl\DVD.pas',
  KeyBindingForm in 'uk\co\athomemedia\client\KeyBindingForm.pas' {frmKeyBindings},
  DirectShowEnumerator in 'uk\co\athomemedia\rtl\DirectShowEnumerator.pas',
  Expressions in 'uk\co\athomemedia\ui\Expressions.pas',
  ExpressionManager in 'uk\co\athomemedia\client\ExpressionManager.pas',
  Version in 'uk\co\athomemedia\client\Version.pas',
  UpgradeForm in 'uk\co\athomemedia\client\UpgradeForm.pas' {frmUpgradeVersion},
  ErrorForm in 'uk\co\athomemedia\client\ErrorForm.pas' {frmError},
  XmlHelper in '..\common\uk\co\athomemedia\rtl\XmlHelper.pas',
  AHMConsts in '..\common\uk\co\athomemedia\rtl\AHMConsts.pas',
  AHMTypes in '..\common\uk\co\athomemedia\rtl\AHMTypes.pas',
  InternetHelper in '..\common\uk\co\athomemedia\rtl\InternetHelper.pas',
  Logging in '..\common\uk\co\athomemedia\rtl\Logging.pas',
  Messaging in '..\common\uk\co\athomemedia\rtl\Messaging.pas',
  Utilities in '..\common\uk\co\athomemedia\rtl\Utilities.pas',
  Unicode in '..\common\uk\co\athomemedia\rtl\Unicode.pas',
  BaseMsgForm in '..\common\uk\co\athomemedia\forms\BaseMsgForm.pas' {frmBaseMessage},
  BaseAbout in '..\common\uk\co\athomemedia\forms\BaseAbout.pas' {frmBaseAbout},
  Descriptor in 'uk\co\athomemedia\ui\Descriptor.pas',
  mediate_TLB in 'mediate_TLB.pas',
  MediateServer in 'MediateServer.pas' {MediateServer: CoClass},
  PluginManager in 'uk\co\athomemedia\client\PluginManager.pas',
  FunctionDescriptor in 'uk\co\athomemedia\ui\FunctionDescriptor.pas',
  TagNames in 'uk\co\athomemedia\client\TagNames.pas',
  MetaConsts in 'uk\co\athomemedia\ui\MetaConsts.pas',
  DCDSPFilterInterfaces in 'include\DSP\DirectShow Filter\Interface\DCDSPFilterInterfaces.pas',
  TextEdits in 'uk\co\athomemedia\ui\TextEdits.pas',
  DirectXSprite in 'uk\co\athomemedia\rtl\DirectXSprite.pas',
  DirectXFont in 'uk\co\athomemedia\rtl\DirectXFont.pas',
  DirectXLine in 'uk\co\athomemedia\rtl\DirectXLine.pas',
  Scrolling in 'uk\co\athomemedia\ui\Scrolling.pas',
  NameValues in '..\common\uk\co\athomemedia\rtl\NameValues.pas',
  Timers in 'uk\co\athomemedia\ui\Timers.pas',
  PluginPropsForm in 'uk\co\athomemedia\client\PluginPropsForm.pas' {frmPluginProperties},
  Embedding in 'uk\co\athomemedia\rtl\Embedding.pas',
  PluginWindows in 'uk\co\athomemedia\ui\PluginWindows.pas',
  FolderForm in 'uk\co\athomemedia\manager\FolderForm.pas' {frmFolderDetails},
  MediaFolderManager in 'uk\co\athomemedia\manager\MediaFolderManager.pas',
  Persistence in 'uk\co\athomemedia\client\Persistence.pas',
  Equaliser in 'uk\co\athomemedia\client\Equaliser.pas',
  TagParser in 'uk\co\athomemedia\rtl\TagParser.pas',
  DBSchema in '..\common\uk\co\athomemedia\rtl\DBSchema.pas',
  MediaSchema in 'uk\co\athomemedia\client\MediaSchema.pas',
  MediaRepository in 'uk\co\athomemedia\client\MediaRepository.pas',
  VirtualPaths in 'uk\co\athomemedia\client\VirtualPaths.pas',
  GridObjects in 'uk\co\athomemedia\ui\GridObjects.pas',
  WMPLib_TLB in 'uk\co\athomemedia\rtl\WMPLib_TLB.pas',
  BufferedStream in '..\common\uk\co\athomemedia\rtl\BufferedStream.pas',
  UIControls in 'uk\co\athomemedia\ui\UIControls.pas',
  Thumbnails in 'uk\co\athomemedia\ui\Thumbnails.pas',
  Effects in 'uk\co\athomemedia\ui\Effects.pas',
  ImageProcessing in 'uk\co\athomemedia\rtl\ImageProcessing.pas',
  RadioTuner in 'uk\co\athomemedia\rtl\RadioTuner.pas',
  DirectShowManager in 'uk\co\athomemedia\rtl\DirectShowManager.pas',
  DirectShowRadio in 'uk\co\athomemedia\rtl\DirectShowRadio.pas',
  RadioStations in 'uk\co\athomemedia\client\RadioStations.pas',
  Radio in 'uk\co\athomemedia\rtl\Radio.pas',
  DirectShowRenderer in 'uk\co\athomemedia\rtl\DirectShowRenderer.pas',
  MetaDescriptor in 'uk\co\athomemedia\ui\MetaDescriptor.pas',
  Gestures in 'uk\co\athomemedia\ui\Gestures.pas',
  Dials in 'uk\co\athomemedia\ui\Dials.pas',
  Gauges in 'uk\co\athomemedia\ui\Gauges.pas',
  GridItems in 'uk\co\athomemedia\ui\GridItems.pas',
  VideoTags in 'include\Tags\VideoTags.pas',
  CompressionHelper in '..\common\uk\co\athomemedia\rtl\CompressionHelper.pas';

{$R *.TLB}

{$R *.RES}
{$R 'gfx\mediate_images.res'}
{$R '..\common\gfx\common_images.res'}
{$R '..\common\resources\xp\windowsXP.res'}

begin
  Application.Initialize;
  Application.Title := 'mediate';
  Application.CreateForm(TAHMScreenForm, AHMScreenForm);
  Application.Run;
end.
